package com.yht.weblog.admin.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author: yht
 * @date: 2024/5/4 10:12
 * @description:
 **/
@Getter
public class DeleteArticleEvent extends ApplicationEvent {
    /**
     * 文章 ID
     */
    private Long articleId;

    public DeleteArticleEvent(Object source, Long articleId){
        super(source);
        this.articleId = articleId;
    }
}
